#include "ManDin.h"
#include "Main_constant.h"




BOOL ManDin::SetParam(WORD memId, Ndata* pSrcParam) {
	
	return true;
}


BOOL ManDin::GetParam(WORD memId, Ndata* pDstParam) {
	
	switch (memId)
	{
		//class
		case 0: {
			char classNameList[16];
			LocateInstanceClassName(m_entryIndex, m_instanceIndex, classNameList);
			pDstParam->SetDataBody(STR_TYPE, classNameList, 16);
			break;
		}
			  //tag
		case 1: {
			char tagNameList[16];
			LocateInstanceTagName(m_entryIndex, m_instanceIndex, tagNameList);
			pDstParam->SetDataBody(STR_TYPE, tagNameList, 16);
			break;
		}
	}
	return true;
}

